package metier.materiel;

import java.awt.Color;

public class De extends Materiel {

	private int nbFaces;

	public De() {
		super();
	}

	public De(int id,  String description, Color couleur, int nbFaces) {
		super(id,  description, couleur);
		this.nbFaces = nbFaces;
	}

	public int getNbFaces() {
		return nbFaces;
	}

	public void setNbFaces(int nbFaces) {
		this.nbFaces = nbFaces;
	}
	public String getNom(){
		return Materiel.NOM_DE;
	}

	@Override
	public String toString() {
		return "De [idMateriel="+ idMateriel + ", description=" + description + ", couleur="
				+ couleur + " ]";
		
	}

}
